public class MySQLDBProvider implements UserDataProvider {

    //我们用MySQLDBProvider类来模拟从MySQL数据库中获取数据。添加一个函数getUserDetails():
    @Override
    public String getUserDetails()
    {
        return "Get User Details from MySQL Database";
    }
}

